package resource_builder;

import com.hitechbangla.fctu.base.Location;
import com.hitechbangla.fctu.base.weather.Cloud;
import com.hitechbangla.fctu.base.weather.CloudShape;
import com.hitechbangla.fctu.base.weather.CloudType;

public class CloudBuilder 
{
    public static void main(String a[])
    {
	Cloud cloud1 = new Cloud(new Location(10,20,500),0.1f, CloudShape.CIRCULAR, CloudType.MILD);
	Cloud cloud2 = new Cloud(new Location(-10,20,1000),0.15f, CloudShape.CIRCULAR, CloudType.MILD);
	
	GenericTypeBuilder<Cloud> genericTypeBuilder = new GenericTypeBuilder<>();
	genericTypeBuilder.add(cloud1, "cloud.object");
	genericTypeBuilder.add(cloud2, "cloud.object");	
    }
}
